package per.hx.bs.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.context.annotation.Primary;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import per.hx.bs.entity.sys.SysUserDO;

import java.util.List;
import java.util.Map;

/**
 * @author HuXing
 * @date 2018/5/14  21:43
 */

@Primary
@FeignClient(value = "Huxingbs-Sys-Service")
public interface SysUserService {


    /**
     * 按条件查询用户信息
     *
     * @param map 条件
     * @return 用户信息
     */
    @PostMapping(value = "sys-service/user/users")
    List<SysUserDO> list(@RequestBody Map<String, Object> map);


}
